type Res<T> = {
    code: number
    message: string
    data: T
}

// 1. 公告
type Notice = {
    content: string
    createdAt: string
    creatorName: string
    id: string
    title: string
}

const notice: Res<Notice> = {
    code: 10001,
    message: '请求成功',
    data: {
        content: '66666',
        createdAt: '77777',
        creatorName: '88888',
        id: '212121',
        title: '2121212121',
    },
}

// 2. 房屋
type House = {
    /**
     * 小区楼栋信息
     */
    building: string
    /**
     * 业主性别0女1男
     */
    gender: number
    /**
     * id
     */
    id: string
    /**
     * 业主电话
     */
    mobile: string
    /**
     * 业主姓名
     */
    name: string
    /**
     * 小区信息
     */
    point: string
    /**
     * 小区房间信息
     */
    room: string
    /**
     * 审核状态1审核中2审核成功3审核失败
     */
    status: number
}

const houseList: Res<House[]> = {
    code: 10000,
    message: 'success',
    data: [{}, {}],
}

export { notice, houseList }
